package com.zzedu.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzedu.common.annotation.Excel;

import java.time.LocalDateTime;

public class ZzAgentVO {
    /**
     * id
     */
    private Long id;

    /**
     * 联系人
     */
    @Excel(name = "联系人")
    private String contacts;

    /**
     * 代理商名称
     */
    @Excel(name = "代理商名称")
    private String agentName;

    /**
     * 代理商等级
     */
    private Long gradeId;
    /**
     * 代理商等级名称
     */
    @Excel(name = "代理商等级")
    private String gradeName;
    /**
     * 联系电话
     */
    @Excel(name = "联系电话")
    private String tel;
    /**
     * 省、市、区
     */
    @Excel(name = "省、市、区")
    private String provinceAndCityAndDistrict;
    /**
     * 详细地址
     */
    @Excel(name = "详细地址")
    private String address;

    /**
     * 正常
     */
    @Excel(name = "正常", dictType = "common_state")
    private Integer state;



    /**
     * 添加时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getAgentName() {
        return agentName;
    }

    public void setAgentName(String agentName) {
        this.agentName = agentName;
    }

    public Long getGradeId() {
        return gradeId;
    }

    public void setGradeId(Long gradeId) {
        this.gradeId = gradeId;
    }

    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getProvinceAndCityAndDistrict() {
        return provinceAndCityAndDistrict;
    }

    public void setProvinceAndCityAndDistrict(String provinceAndCityAndDistrict) {
        this.provinceAndCityAndDistrict = provinceAndCityAndDistrict;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public LocalDateTime getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(LocalDateTime gmtCreate) {
        this.gmtCreate = gmtCreate;
    }
}
